spilit string in swift

121

import Foundation
let sayHello = "Hello Swift 4 2017";
let result = sayHello.split(separator: " ")
print(result)

Comments

Submit
0 Comments